#ifndef AVALON_AUTHENTICATIONEXCEPTION_HPP
#define AVALON_AUTHENTICATIONEXCEPTION_HPP
#include "Avalon/IO/ConnectException.hpp"
#include "Avalon/ServiceLocator/ServiceLocator.hpp"

namespace Avalon {
namespace ServiceLocator {

  /*! \class AuthenticationException
   *  \brief Signals an authentication error during a connect operation.
   *  \author Kamal Mansouri <kranar@hotmail.com>
   */
  class AuthenticationException : public IO::ConnectException {
    public:

      //! Constructs an AuthenticationException.
      AuthenticationException();

      //! Constructs an AuthenticationException.
      /*!
        \param message A message describing the error.
      */
      AuthenticationException(const std::string& message);

      virtual ~AuthenticationException() throw();
  };
}
}

#endif // AVALON_AUTHENTICATIONEXCEPTION_HPP
